package com.cn.xcsharp.controller;

import org.springframework.beans.factory.annotation.Value;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;
/**
*@author xcsharp
*@date 2022/5/29 12:49
*描述:控制器  API测试
*/
@RestController
public class XcSharpController {
    @Value("${XCSHARP.NAME}")
    private String appName;

    @RequestMapping("/xcsharp")
    public String xcsharp() {

        return "Spring Boot is ok！"+appName;
    }
}
